package com.newtouch.bxzs.business.train.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 知识卡片返回结果BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/6 13:38</td>
 * <td>lingshouyi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lingshouyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel(value = "APP端知识卡片BO")
public class KnowledgeCardAppBO implements Serializable {

    private static final long serialVersionUID = -8351195150674037294L;

    @ApiModelProperty(value = "知识卡片id")
    private String knowledgeCardId;

    @ApiModelProperty(value = "知识卡片标题")
    private String knowledgeCardTitle;

    @ApiModelProperty(value = "知识卡片分类:1,推荐 2,产品 3,理念 4,保险圈 5,健康 6,谈资")
    private String knowledgeCardType;

    @ApiModelProperty(value = "知识卡片简介")
    private String knowledgeCardIntroduction;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;

    @ApiModelProperty(value = "撤销时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date revokeTime;

    @ApiModelProperty(value = "发布状态")
    private String publishStatus;

    @ApiModelProperty(value = "知识卡片内容")
    private String knowledgeCardContent;

    @ApiModelProperty(value = "发布人")
    private String publishUserName;

    @ApiModelProperty(value = "附件地址")
    private String attachments;

}
